<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script> 

</head>
<body ng-app="myApp" ng-controller="myCtrl">

<div >
  <p>使用 ng-repeat 来循环数组</p>
  <ul>
    <li ng-repeat="x in data">
    	{{ x }}<input value="{{ x }}" />
      
    </li>
  </ul>
</div>
<script type="text/javascript">
var d = ["aa","bb","cc"];
	var app = angular.module("myApp",[]);
	app.controller("myCtrl",function($scope){
		$scope.data=d;
	});
</script>

</body>
</html>
